package com.dupf.product.rpc.api;

import com.dupf.product.dao.smodel.ProductCollectParamDTO;

/**
* ProductCollectService
* Created by dupf on 2018/3/14.
*/
public interface ProductCollectService {

    /**
     * 添加新的采集任务
     * @param recordId
     * @param userId
     * @param orgId
     * @param category
     * @param categoryId
     * @param sourceUrl
     * @param type
     * @return
     */
    void newCollectionTask(int recordId, int userId, int orgId, String category, String categoryId, String sourceUrl, int type);

    int collectProductByContent(ProductCollectParamDTO paramDTO);

}